package com.thememaker.lockstyle.bean.ui;

import com.thememaker.lockstyle.bean.Comment;
import com.thememaker.lockstyle.bean.animation.*;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by binghui.hang on 2018/2/23.
 */
@XmlRootElement(name = "Image")
public class Image extends BaseView {
    private String pointX;
    private String pointY;
    private String rotation;
    private String src;
    private String srcid;
    private String antiAlias;
    private String srcExp;
    private String srcFormat;
    private String srcForamtExp;
    private String srcParas;
    private String align;
    private String alignV;

    private String time;

    private SourcesAnimation sourcesAnimation;
    private SizeAnimation sizeAnimation;
    private RotationAnimation rotationAnimation;
    private PositionAnimation positionAnimation;
    private AlphaAnimation alphaAnimation;
    private Mask mask;

    private Comment comment;

    @XmlAttribute(name = "pointX")
    public String getPointX() {
        return pointX;
    }

    public void setPointX(String pointX) {
        this.pointX = pointX;
    }

    @XmlAttribute(name = "pointY")
    public String getPointY() {
        return pointY;
    }

    public void setPointY(String pointY) {
        this.pointY = pointY;
    }


    @XmlAttribute(name = "rotation")
    public String getRotation() {
        return rotation;
    }

    public void setRotation(String rotation) {
        this.rotation = rotation;
    }

    @XmlAttribute(name = "src")
    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    @XmlAttribute(name = "srcid")
    public String getSrcid() {
        return srcid;
    }

    public void setSrcid(String srcid) {
        this.srcid = srcid;
    }

    @XmlAttribute(name = "antiAlias")
    public String getAntiAlias() {
        return antiAlias;
    }

    public void setAntiAlias(String antiAlias) {
        this.antiAlias = antiAlias;
    }

    @XmlAttribute(name = "srcExp")
    public String getSrcExp() {
        return srcExp;
    }

    public void setSrcExp(String srcExp) {
        this.srcExp = srcExp;
    }

    @XmlAttribute(name = "srcFormat")
    public String getSrcFormat() {
        return srcFormat;
    }

    public void setSrcFormat(String srcFormat) {
        this.srcFormat = srcFormat;
    }

    @XmlAttribute(name = "srcForamtExp")
    public String getSrcForamtExp() {
        return srcForamtExp;
    }

    public void setSrcForamtExp(String srcForamtExp) {
        this.srcForamtExp = srcForamtExp;
    }

    @XmlAttribute(name = "srcParas")
    public String getSrcParas() {
        return srcParas;
    }

    public void setSrcParas(String srcParas) {
        this.srcParas = srcParas;
    }

    @XmlAttribute(name = "align")
    public String getAlign() {
        return align;
    }

    public void setAlign(String align) {
        this.align = align;
    }

    @XmlAttribute(name = "alignV")
    public String getAlignV() {
        return alignV;
    }

    public void setAlignV(String alignV) {
        this.alignV = alignV;
    }

    @XmlElement(name = "SourcesAnimation")
    public SourcesAnimation getSourcesAnimation() {
        return sourcesAnimation;
    }

    public void setSourcesAnimation(SourcesAnimation sourcesAnimation) {
        this.sourcesAnimation = sourcesAnimation;
    }

    @XmlElement(name = "SizeAnimation")
    public SizeAnimation getSizeAnimation() {
        return sizeAnimation;
    }

    public void setSizeAnimation(SizeAnimation sizeAnimation) {
        this.sizeAnimation = sizeAnimation;
    }

    @XmlElement(name = "RotationAnimation")
    public RotationAnimation getRotationAnimation() {
        return rotationAnimation;
    }

    public void setRotationAnimation(RotationAnimation rotationAnimation) {
        this.rotationAnimation = rotationAnimation;
    }

    @XmlElement(name = "PositionAnimation")
    public PositionAnimation getPositionAnimation() {
        return positionAnimation;
    }

    public void setPositionAnimation(PositionAnimation positionAnimation) {
        this.positionAnimation = positionAnimation;
    }

    @XmlElement(name = "AlphaAnimation")
    public AlphaAnimation getAlphaAnimation() {
        return alphaAnimation;
    }

    public void setAlphaAnimation(AlphaAnimation alphaAnimation) {
        this.alphaAnimation = alphaAnimation;
    }

    @XmlAttribute(name = "time")
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @XmlElement(name = "Mask")
    public Mask getMask() {
        return mask;
    }

    public void setMask(Mask mask) {
        this.mask = mask;
    }

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }
}
